package atom.error 
{
	/**
	 * Describes Error instances for a better error management.
	 * @author Jorge Braccini
	 */
	public class AtomError extends Error {
		
		public static var SOCKET_NOT_READY:Object 		= {	id: 1, 	description: "Socket connection is not ready." };
		public static var SOCKET_PARSE_ERROR:Object 	= {	id: 2, 	description: "Socket data could not be parsed." };
		
		public function AtomError(error:Object) {
			super(error.description, error.id);
		}
		
	}

}